<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人中心 - 企业福利商城</title>
    <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
        }
        
        /* 顶部导航栏 */
        .header {
            background-color: white;
            box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            height: 60px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, #409EFF 0%, #64b5ff 100%);
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 10px;
            color: white;
            font-weight: bold;
            font-size: 18px;
        }
        
        .logo-text {
            font-size: 20px;
            font-weight: 600;
            color: #409EFF;
        }
        
        .main-nav {
            display: flex;
            list-style: none;
            height: 100%;
        }
        
        .nav-item {
            padding: 0 20px;
            height: 100%;
            display: flex;
            align-items: center;
            cursor: pointer;
            position: relative;
            font-weight: 500;
        }
        
        .nav-item.active {
            color: #409EFF;
        }
        
        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #409EFF;
        }
        
        .user-info {
            display: flex;
            align-items: center;
        }
        
        .balance {
            margin-right: 20px;
            display: flex;
            align-items: center;
            background-color: #f0f9ff;
            padding: 6px 12px;
            border-radius: 16px;
            color: #409EFF;
            font-weight: 500;
        }
        
        .balance-icon {
            margin-right: 5px;
        }
        
        .avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #409EFF;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
            cursor: pointer;
        }
        
        /* 主要内容区域 */
        .main-container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 20px;
            display: flex;
        }
        
        /* 侧边栏 */
        .sidebar {
            width: 220px;
            background-color: white;
            border-radius: 12px;
            padding: 20px 0;
            margin-right: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            align-self: flex-start;
        }
        
        .sidebar-title {
            padding: 0 20px 15px;
            font-weight: 600;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .sidebar-title-icon {
            width: 20px;
            height: 20px;
            background-color: #409EFF;
            border-radius: 4px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 8px;
            color: white;
            font-size: 12px;
        }
        
        .sidebar-menu {
            list-style: none;
        }
        
        .menu-item {
            padding: 12px 20px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }
        
        .menu-item:hover {
            background-color: #f5f7fa;
            color: #409EFF;
        }
        
        .menu-item.active {
            background-color: #f0f9ff;
            color: #409EFF;
            border-right: 3px solid #409EFF;
        }
        
        .menu-icon {
            margin-right: 10px;
            font-size: 16px;
        }
        
        /* 内容区域 */
        .content {
            flex: 1;
        }
        
        /* 面包屑导航 */
        .breadcrumb {
            background-color: white;
            border-radius: 12px;
            padding: 15px 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
        }
        
        .breadcrumb-item {
            color: #606266;
            font-size: 14px;
        }
        
        .breadcrumb-item.active {
            color: #409EFF;
        }
        
        .breadcrumb-separator {
            margin: 0 8px;
            color: #c0c4cc;
        }
        
        /* 个人信息卡片 */
        .profile-card {
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
        }
        
        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: #409EFF;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
            font-size: 24px;
            margin-right: 20px;
        }
        
        .profile-info {
            flex: 1;
        }
        
        .profile-name {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .profile-details {
            color: #606266;
            margin-bottom: 10px;
        }
        
        .profile-balance {
            display: flex;
            align-items: center;
            font-weight: 500;
            color: #f56c6c;
        }
        
        .balance-amount {
            font-size: 18px;
            margin-left: 5px;
        }
        
        .profile-actions {
            display: flex;
            gap: 10px;
        }
        
        .profile-btn {
            padding: 8px 16px;
            background-color: white;
            border: 1px solid #dcdfe6;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .profile-btn.primary {
            background-color: #409EFF;
            color: white;
            border-color: #409EFF;
        }
        
        /* 功能卡片区域 */
        .features-section {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .feature-card {
            background-color: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #f0f9ff;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 15px;
            color: #409EFF;
            font-size: 24px;
        }
        
        .feature-title {
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .feature-desc {
            color: #909399;
            font-size: 13px;
        }
        
        /* 最近订单 */
        .orders-section {
            background-color: white;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .section-title {
            font-weight: 600;
            font-size: 18px;
        }
        
        .view-all {
            color: #409EFF;
            text-decoration: none;
            font-size: 14px;
        }
        
        .orders-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .order-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border-radius: 8px;
            background-color: #f9f9f9;
            transition: all 0.3s;
        }
        
        .order-item:hover {
            background-color: #f0f9ff;
        }
        
        .order-image {
            width: 60px;
            height: 60px;
            background-color: #f5f7fa;
            border-radius: 8px;
            margin-right: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #909399;
            font-size: 12px;
        }
        
        .order-info {
            flex: 1;
        }
        
        .order-name {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .order-details {
            color: #909399;
            font-size: 13px;
            margin-bottom: 5px;
        }
        
        .order-status {
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 10px;
        }
        
        .status-pending {
            background-color: #fdf6ec;
            color: #e6a23c;
        }
        
        .status-shipped {
            background-color: #f0f9ff;
            color: #409EFF;
        }
        
        .status-completed {
            background-color: #f0f9ec;
            color: #67c23a;
        }
        
        .order-price {
            font-weight: 600;
            color: #f56c6c;
            margin-right: 15px;
        }
        
        .order-actions {
            display: flex;
            gap: 10px;
        }
        
        .order-btn {
            padding: 6px 12px;
            background-color: white;
            border: 1px solid #dcdfe6;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
        }
        
        .order-btn.primary {
            background-color: #409EFF;
            color: white;
            border-color: #409EFF;
        }
        
        /* 通知区域 */
        .notices-section {
            background-color: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .notices-list {
            list-style: none;
        }
        
        .notice-item {
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: flex-start;
        }
        
        .notice-item:last-child {
            border-bottom: none;
        }
        
        .notice-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #f0f9ff;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 12px;
            color: #409EFF;
            font-size: 12px;
            flex-shrink: 0;
            margin-top: 2px;
        }
        
        .notice-content {
            flex: 1;
        }
        
        .notice-title {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .notice-desc {
            color: #606266;
            font-size: 13px;
            line-height: 1.5;
        }
        
        .notice-date {
            color: #909399;
            font-size: 12px;
            margin-top: 5px;
        }
        
        /* 底部信息 */
        .footer {
            background-color: white;
            padding: 30px 0;
            margin-top: 50px;
            border-top: 1px solid #e4e7ed;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .footer-desc {
            color: #909399;
            max-width: 300px;
            line-height: 1.6;
        }
        
        .footer-links {
            display: flex;
        }
        
        .link-column {
            margin-right: 60px;
        }
        
        .link-title {
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .link-item {
            margin-bottom: 10px;
            color: #606266;
            cursor: pointer;
        }
        
        .link-item:hover {
            color: #409EFF;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid #e4e7ed;
            color: #909399;
            font-size: 14px;
        }
        
        /* 响应式设计 */
        @media (max-width: 1024px) {
            .features-section {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .main-container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }
            
            .features-section {
                grid-template-columns: 1fr;
            }
            
            .profile-card {
                flex-direction: column;
                text-align: center;
            }
            
            .profile-avatar {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .profile-actions {
                margin-top: 15px;
                justify-content: center;
            }
            
            .nav-item {
                padding: 0 12px;
                font-size: 14px;
            }
            
            .balance {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .order-item {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .order-image {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .order-price {
                margin-right: 0;
                margin-top: 10px;
            }
            
            .order-actions {
                width: 100%;
                justify-content: space-between;
                margin-top: 10px;
            }
            
            .order-btn {
                flex: 1;
                text-align: center;
            }
            
            .nav-container {
                padding: 0 10px;
            }
            
            .logo-text {
                display: none;
            }
            
            .main-nav {
                display: none;
            }
        }
    </style>
</head>
<body>
    <!-- 顶部导航栏 -->
    <header class="header">
        <div class="nav-container">
            <div class="logo">
                <div class="logo-icon">福</div>
                <div class="logo-text">企业福利商城</div>
            </div>
            
            <ul class="main-nav">
                <li class="nav-item">首页</li>
                <li class="nav-item">商品分类</li>
                <li class="nav-item">福利卡兑换</li>
                <li class="nav-item">购物车</li>
                <li class="nav-item active">个人中心</li>
            </ul>
            
            <div class="user-info">
                <div class="balance">
                    <span class="balance-icon">¥</span>
                    <span>1,280.50</span>
                </div>
                <div class="avatar">张</div>
            </div>
        </div>
    </header>

    <!-- 主要内容区域 -->
    <div class="main-container">
        <!-- 侧边栏 -->
        <div class="sidebar">
            <div class="sidebar-title">
                <div class="sidebar-title-icon">个</div>
                个人中心
            </div>
            
            <ul class="sidebar-menu">
                <li class="menu-item active">
                    <span class="menu-icon">👤</span>
                    个人信息
                </li>
                <li class="menu-item">
                    <span class="menu-icon">📦</span>
                    我的订单
                </li>
                <li class="menu-item">
                    <span class="menu-icon">📍</span>
                    收货地址
                </li>
                <li class="menu-item">
                    <span class="menu-icon">❤️</span>
                    我的收藏
                </li>
                <li class="menu-item">
                    <span class="menu-icon">🎁</span>
                    福利卡兑换
                </li>
                <li class="menu-item">
                    <span class="menu-icon">🔒</span>
                    安全设置
                </li>
            </ul>
        </div>
        
        <!-- 内容区域 -->
        <div class="content">
            <!-- 面包屑导航 -->
            <div class="breadcrumb">
                <span class="breadcrumb-item">首页</span>
                <span class="breadcrumb-separator">/</span>
                <span class="breadcrumb-item active">个人中心</span>
            </div>
            
            <!-- 个人信息卡片 -->
            <div class="profile-card">
                <div class="profile-avatar">张</div>
                <div class="profile-info">
                    <div class="profile-name">张三</div>
                    <div class="profile-details">EMP2023001 | 技术部 | 前端工程师</div>
                    <div class="profile-balance">
                        <span>账户余额：</span>
                        <span class="balance-amount">¥ 1,280.50</span>
                    </div>
                </div>
                <div class="profile-actions">
                    <button class="profile-btn">编辑资料</button>
                    <button class="profile-btn primary">福利卡兑换</button>
                </div>
            </div>
            
            <!-- 功能卡片区域 -->
            <div class="features-section">
                <div class="feature-card">
                    <div class="feature-icon">📦</div>
                    <div class="feature-title">我的订单</div>
                    <div class="feature-desc">查看和管理您的所有订单</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">❤️</div>
                    <div class="feature-title">我的收藏</div>
                    <div class="feature-desc">查看您收藏的商品和心愿单</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">📍</div>
                    <div class="feature-title">收货地址</div>
                    <div class="feature-desc">管理您的收货地址信息</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🎁</div>
                    <div class="feature-title">福利卡兑换</div>
                    <div class="feature-desc">使用福利卡兑换账户余额</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🔒</div>
                    <div class="feature-title">安全设置</div>
                    <div class="feature-desc">修改密码和安全信息</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">💬</div>
                    <div class="feature-title">帮助中心</div>
                    <div class="feature-desc">常见问题和客服支持</div>
                </div>
            </div>
            
            <!-- 最近订单 -->
            <div class="orders-section">
                <div class="section-header">
                    <div class="section-title">最近订单</div>
                    <a href="#" class="view-all">查看全部订单</a>
                </div>
                
                <div class="orders-list">
                    <div class="order-item">
                        <div class="order-image">商品图片</div>
                        <div class="order-info">
                            <div class="order-name">金龙鱼黄金比例食用调和油5L</div>
                            <div class="order-details">订单号：ORD20230920001 | 2023-09-20</div>
                            <div class="order-status status-completed">已完成</div>
                        </div>
                        <div class="order-price">¥ 89.90</div>
                        <div class="order-actions">
                            <button class="order-btn">查看详情</button>
                            <button class="order-btn primary">再次购买</button>
                        </div>
                    </div>
                    
                    <div class="order-item">
                        <div class="order-image">商品图片</div>
                        <div class="order-info">
                            <div class="order-name">福临门水晶米10kg</div>
                            <div class="order-details">订单号：ORD20230915002 | 2023-09-15</div>
                            <div class="order-status status-shipped">已发货</div>
                        </div>
                        <div class="order-price">¥ 137.00</div>
                        <div class="order-actions">
                            <button class="order-btn">查看详情</button>
                            <button class="order-btn primary">查看物流</button>
                        </div>
                    </div>
                    
                    <div class="order-item">
                        <div class="order-image">商品图片</div>
                        <div class="order-info">
                            <div class="order-name">中秋月饼礼盒装</div>
                            <div class="order-details">订单号：ORD20230910003 | 2023-09-10</div>
                            <div class="order-status status-pending">待发货</div>
                        </div>
                        <div class="order-price">¥ 158.00</div>
                        <div class="order-actions">
                            <button class="order-btn">查看详情</button>
                            <button class="order-btn primary">取消订单</button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 通知区域 -->
            <div class="notices-section">
                <div class="section-header">
                    <div class="section-title">系统通知</div>
                </div>
                
                <ul class="notices-list">
                    <li class="notice-item">
                        <div class="notice-icon">🎁</div>
                        <div class="notice-content">
                            <div class="notice-title">中秋福利卡已发放</div>
                            <div class="notice-desc">您的中秋福利卡已发放，面额500元，请及时兑换使用，有效期至2023-10-15。</div>
                            <div class="notice-date">2023-09-18</div>
                        </div>
                    </li>
                    
                    <li class="notice-item">
                        <div class="notice-icon">📦</div>
                        <div class="notice-content">
                            <div class="notice-title">订单发货通知</div>
                            <div class="notice-desc">您的订单 ORD20230915002 已发货，快递单号：SF1234567890，请注意查收。</div>
                            <div class="notice-date">2023-09-16</div>
                        </div>
                    </li>
                    
                    <li class="notice-item">
                        <div class="notice-icon">💝</div>
                        <div class="notice-content">
                            <div class="notice-title">生日祝福</div>
                            <div class="notice-desc">祝您生日快乐！公司为您准备了200元生日福利卡，已发放至您的账户，请查收。</div>
                            <div class="notice-date">2023-09-10</div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <!-- 底部信息 -->
    <footer class="footer">
        <div class="footer-content">
            <div class="footer-about">
                <div class="footer-logo">
                    <div class="logo-icon">福</div>
                    <div class="logo-text">企业福利商城</div>
                </div>
                <p class="footer-desc">
                    企业员工专属福利平台，通过"卡+卡密"兑换机制，为员工提供安全便捷的福利兑换服务。
                </p>
            </div>
            
            <div class="footer-links">
                <div class="link-column">
                    <div class="link-title">购物指南</div>
                    <div class="link-item">购物流程</div>
                    <div class="link-item">会员介绍</div>
                    <div class="link-item">常见问题</div>
                </div>
                
                <div class="link-column">
                    <div class="link-title">配送方式</div>
                    <div class="link-item">上门自提</div>
                    <div class="link-item">快递配送</div>
                    <div class="link-item">配送费用</div>
                </div>
                
                <div class="link-column">
                    <div class="link-title">售后服务</div>
                    <div class="link-item">退款说明</div>
                    <div class="link-item">返修/退换货</div>
                    <div class="link-item">取消订单</div>
                </div>
                
                <div class="link-column">
                    <div class="link-title">关于我们</div>
                    <div class="link-item">联系我们</div>
                    <div class="link-item">隐私协议</div>
                    <div class="link-item">用户协议</div>
                </div>
            </div>
        </div>
        
        <div class="copyright">
            © 2023 企业福利商城 版权所有 | 客服热线：400-123-4567
        </div>
    </footer>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 导航菜单点击效果
            const navItems = document.querySelectorAll('.nav-item');
            navItems.forEach(item => {
                item.addEventListener('click', function() {
                    navItems.forEach(i => i.classList.remove('active'));
                    this.classList.add('active');
                });
            });
            
            // 侧边菜单点击效果
            const menuItems = document.querySelectorAll('.menu-item');
            menuItems.forEach(item => {
                item.addEventListener('click', function() {
                    menuItems.forEach(i => i.classList.remove('active'));
                    this.classList.add('active');
                    
                    // 更新内容区域
                    const menuText = this.querySelector('span').textContent;
                    alert(`切换到：${menuText}`);
                });
            });
            
            // 功能卡片点击效果
            const featureCards = document.querySelectorAll('.feature-card');
            featureCards.forEach(card => {
                card.addEventListener('click', function() {
                    const title = this.querySelector('.feature-title').textContent;
                    alert(`打开：${title}`);
                });
            });
            
            // 操作按钮点击事件
            const profileBtns = document.querySelectorAll('.profile-btn');
            profileBtns.forEach(btn => {
                btn.addEventListener('click', function(e) {
                    e.stopPropagation();
                    
                    if (this.textContent === '编辑资料') {
                        alert('打开编辑资料页面');
                    } else if (this.textContent === '福利卡兑换') {
                        alert('跳转到福利卡兑换页面');
                    }
                });
            });
            
            // 订单按钮点击事件
            const orderBtns = document.querySelectorAll('.order-btn');
            orderBtns.forEach(btn => {
                btn.addEventListener('click', function(e) {
                    e.stopPropagation();
                    
                    const orderItem = this.closest('.order-item');
                    const orderName = orderItem.querySelector('.order-name').textContent;
                    
                    if (this.textContent === '查看详情') {
                        alert(`查看订单详情：${orderName}`);
                    } else if (this.textContent === '再次购买') {
                        alert(`再次购买：${orderName}`);
                    } else if (this.textContent === '查看物流') {
                        alert(`查看物流信息：${orderName}`);
                    } else if (this.textContent === '取消订单') {
                        if (confirm(`确定要取消订单：${orderName} 吗？`)) {
                            alert(`已取消订单：${orderName}`);
                        }
                    }
                });
            });
            
            // 订单项点击事件
            const orderItems = document.querySelectorAll('.order-item');
            orderItems.forEach(item => {
                item.addEventListener('click', function() {
                    const orderName = this.querySelector('.order-name').textContent;
                    alert(`查看订单详情：${orderName}`);
                });
            });
        });
    </script>
</body>
</html>